package main

import (
	"fmt"
	"os"
)

func main() {
	if len(os.Args) > 1 {
		switch os.Args[1] {
		case "run":
			parentRun()

		case "_run":
			childRun()
		default:
			fmt.Println("usage: tinyc COMMAND ARGS...")
			os.Exit(1)
		}
		return
	}
	fmt.Println("usage: tinyc COMMAND ARGS...")
}
